package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.DataDictionary;
import cn.wolfcode.crm.query.ObjectQuery;

import java.util.List;

public interface DataDictionaryMapper {
    int delete(Long id);

    int save(DataDictionary record);

    DataDictionary get(Long id);

    List<DataDictionary> getAll();

    int update(DataDictionary record);

    int queryForCount(ObjectQuery qo);

    List<DataDictionary> queryForList(ObjectQuery qo);

    List<DataDictionary> selectDataBySn(String sn);

    //查询 支付方式添加
    List<DataDictionary> queryPayWayById();
}